package sample03;

public class SCV extends GroundUnit implements IRepaireable{
	SCV() {
		super(60);
		hitPoint = MAX_HP;
	}
	
	
	void repair(IRepaireable r) {
		if (r instanceof CUnit) {
			CUnit u = (CUnit)r;
			while(u.hitPoint!=u.MAX_HP) {
				u.hitPoint++;
		
			}
		}
	}
}
